﻿<Page x:Class="Framework_Tool.AssessmentDelete"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
      mc:Ignorable="d" 
      d:DesignHeight="547" d:DesignWidth="1043"
	Title="AssessmentDelete">
    <Grid Name="mainContent" >
        <Border BorderBrush="#FF311E51" BorderThickness="3" CornerRadius="30" Width="1042" Height="547" VerticalAlignment="Top" HorizontalAlignment="Left">
            <Grid>
                <Border Name="mask" CornerRadius="27" >
                    <Border.Background>
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                            <GradientStop Color="#FF311E51" Offset="0"/>
                            <GradientStop Color="#FF594F6B" Offset="1"/>
                        </LinearGradientBrush>
                    </Border.Background>
                </Border>
                <StackPanel HorizontalAlignment="Left" Orientation="Horizontal" Margin="30,0,0,0" VerticalAlignment="Top" Width="874">
                    <Button Margin="0,0,25,0" Visibility="Visible" x:Name="viewAssessmentBtn" Content="View" Foreground="White" VerticalAlignment="Top" HorizontalAlignment="Right" FontSize="20" Background="{x:Null}" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="viewAssessmentBtn_Click_1"/>
                    <Button Margin="0,0,25,0" Visibility="Visible" x:Name="addAssessmentBtn" Content="Add" Foreground="White" VerticalAlignment="Top" HorizontalAlignment="Right" FontSize="20" Background="{x:Null}" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="addAssessmentBtn_Click_1"/>
                    <Button Margin="0,0,25,0" Visibility="Visible" x:Name="updateAssessmentBtn" Content="Update" Foreground="White" VerticalAlignment="Top" HorizontalAlignment="Right"  FontSize="20" Background="{x:Null}" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="updateAssessmentBtn_Click_1" />
                    <Button Margin="0,0,25,0" Visibility="Visible" x:Name="deleteAssessmentBtn" Content="Delete" Foreground="White" VerticalAlignment="Top" HorizontalAlignment="Right" FontSize="20" Background="{x:Null}" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" />
                    <Button Margin="0,0,25,0" Visibility="Visible" x:Name="searchAssessmentBtn" Content="Search" Foreground="White" VerticalAlignment="Top" HorizontalAlignment="Right"  FontSize="20" Background="{x:Null}" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="searchAssessmentBtn_Click_1" />
                </StackPanel>
                <Label x:Name="deleteAsmnt" Content="Delete Assessment" Margin="70,65,0,0" Foreground="White" VerticalAlignment="Top" HorizontalAlignment="Left" FontSize="20" RenderTransformOrigin="-0.551,0.513" FontWeight="Bold" />
                <Label x:Name="asmntID" Content="Assessment ID" Margin="70,126,0,0" Foreground="White" VerticalAlignment="Top" HorizontalAlignment="Left" RenderTransformOrigin="-0.551,0.513" FontSize="14" />
                <ComboBox x:Name="asmntIDCmbx_deleteAsmnt" HorizontalAlignment="Left" Height="25" VerticalAlignment="Top" Width="200" FontSize="14" Margin="200,130,0,0" SelectionChanged="asmntIDCmbx_deleteAsmnt_SelectionChanged_1" />
                <Label x:Name="asmntTitle" Content="Assessment Title" Margin="70,161,0,0" Foreground="White" VerticalAlignment="Top" HorizontalAlignment="Left" FontSize="14" RenderTransformOrigin="-0.551,0.513" />
                <TextBox x:Name="asmntTitleTxt" Margin="200,165,0,0" IsEnabled="False" HorizontalAlignment="Left" Height="25" TextWrapping="Wrap" VerticalAlignment="Top" Width="200" FontSize="14" BorderBrush="{x:Null}" Background="Transparent" />
                <Label x:Name="asmntUnit" Content="Part of Unit" Margin="70,225,0,0" Foreground="White" VerticalAlignment="Top" HorizontalAlignment="Left" FontSize="14" RenderTransformOrigin="-0.551,0.513" />
                <TextBox x:Name="unitNameTxt_deleteAsmnt" IsEnabled="False" HorizontalAlignment="Left" Height="25" Margin="200,225,0,0" VerticalAlignment="Top" Width="200" />
                <Label x:Name="unitIDLbl_deleteAsmnt" Margin="200,255,0,0" Foreground="White" VerticalAlignment="Top" HorizontalAlignment="Left" FontSize="14" RenderTransformOrigin="-0.551,0.513" />
                <Label x:Name="asmntType" Content="Assessment Type" Margin="70,295,0,0" Foreground="White" VerticalAlignment="Top" HorizontalAlignment="Left" FontSize="14" RenderTransformOrigin="-0.551,0.513" />
                <TextBox x:Name="asmntTypeTxt_deleteAsmnt" IsEnabled="False" HorizontalAlignment="Left" Height="25" Margin="200,295,0,0" VerticalAlignment="Top" Width="200" />
                <Label x:Name="asmntDesc" Content="Assessment Description" Margin="70,350,0,0" Foreground="White" VerticalAlignment="Top" HorizontalAlignment="Left" Width="199" FontSize="14" RenderTransformOrigin="-0.551,0.513" />
                <TextBox x:Name="asmntDescTxt" IsEnabled="False" Margin="70,380,0,0" HorizontalAlignment="Left" Height="75" TextWrapping="Wrap" VerticalAlignment="Top" Width="330" FontSize="14" BorderBrush="{x:Null}" Background="Transparent" />
                <Grid Margin="100,470,0,0" VerticalAlignment="Top" HorizontalAlignment="Left" x:Name="asmntDeletedLblGrid" Visibility="Hidden">
                    <Border HorizontalAlignment="Left" Width="350" CornerRadius="15" Background="#FFF5E06B" />
                    <Label x:Name="asmntDeletedLbl" Foreground="#FF311E51" Width="350" VerticalAlignment="Top" HorizontalAlignment="Left" FontSize="20" FontWeight="Bold" FontStyle="Italic" HorizontalContentAlignment="Center" />
                </Grid>
                <Grid Margin="600,450,195,30" VerticalAlignment="Bottom" HorizontalAlignment="Right">
                    <Border BorderBrush="#FF28B5D3" BorderThickness="1" Height="50"  Width="240" CornerRadius="12">
                        <Border.Background>
                            <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                <GradientStop Color="#FF28B5D3" Offset="0.406"/>
                                <GradientStop Color="White"/>
                            </LinearGradientBrush>
                        </Border.Background>
                    </Border>
                    <Button Content="Delete Assessment" x:Name="asmntDelete" FontSize="25" Height="50" Background="{x:Null}" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Foreground="White" Width="240" Click="asmntDelete_Click_1" />
                </Grid>
                <Grid Margin="0,0,50,30" VerticalAlignment="Bottom" HorizontalAlignment="Right">
                    <Border BorderBrush="#FFC8C8C8" BorderThickness="1" HorizontalAlignment="Right" Height="50"  Width="130" CornerRadius="12">
                        <Border.Background>
                            <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                <GradientStop Color="#FFC8C8C8" Offset="0.406"/>
                                <GradientStop Color="White"/>
                            </LinearGradientBrush>
                        </Border.Background>
                    </Border>
                    <Button Content="Cancel" x:Name="cancelAsmntDelete"  FontSize="25" Height="50" Background="{x:Null}" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Foreground="Black" Width="130" Click="cancelAsmntDelete_Click_1" />
                </Grid>

            </Grid>
        </Border>
    </Grid>
</Page>
